<div class="grid [:css_class:]" id="[:control_name:]" url="[:refresh_url:]">
    <table class="data">
        <thead>
            <tr>
                <td class="status_bar pager" colspan="[:colspan:]" nowrap="nowrap">
                    Page [:page_select:] of [:page_count:] | View [:rpp_select:] of [:record_count:] records
                    [<a target="_blank" href="[:url_grid:]/VmField#grid:filter[view_id]=[:view_id:]&sort=sort_order">fields</a>]
                </td>
            </tr>
            <tr class="caption">
                <th style="width:1px"><input class="check_all" type="checkbox" name="selected[all]" /></th>
                <repeat:column>
                <th class="[:header_class:]" title="[:name:]" style="[:style:]">[:caption:]</th>
                </repeat:column>
                <th style="width:1px">Action</th>
            </tr>
            <tr class="filterrow">
                <td align="center"><div class="funnel"></div></td>
                <repeat:column>
                <td class="filter editing field-[:name:]">[:filter-[:name:]:]</td>
                </repeat:column>
                <td class="actionbox" align="center"><span class="clear_filter action_item"><img title="clear filter" src="[:url_grid_img:]/funnel_delete.png" /></span></td>
            </tr>
        </thead>
        <tbody>
            [:norecord:]
            <repeat:row>
            <tr key="[:item_key:]" class="row [:css_selected:]" style="[:row_style:]">
                <td><input class="check" type="checkbox" name="selected[[:item_key:]]" [:checked:] /></td>
                <repeat:column>
                <td class="cell [:datatype:] [:editable:] [:css_column:][:css_column_row:] [:notformated:]" field="[:name:]" value="[:[:name:]:]" [:nowrap-[:name:]:]>[:formated-[:name:]:]</td>
                </repeat:column>
                <td class="actionbox" align="center"><img src="[:url_grid_img:]/gear.png" /><div class="action_handle"><div class="action_wrapper" style="display:none">[:actions_box:]</div></div></td>
            </tr>
            </repeat:row>
            <tr class="editbox">
                <td>[:hidden_edit:]</td>
                <repeat:column>
                <td class="cell [:datatype:] [:editable:] edit-[:name:]" field="[:name:]" value="">[:editbox-[:name:]:]</td>
                </repeat:column>
                <td class="actionbox"><span class="action_item inline_edit"><img title="remove" src="[:url_grid_img:]/table_delete.png" /></span></td>
            </tr>
        </tbody>
        <tfoot>
            <tr>
                <td class="status_bar" colspan="[:colspan:]" nowrap="nowrap">
                    <input type="button" value="Submit" class="button submit" />
                    [:addnew_button:]
                    [:mass_actions:]
                </td>
            </tr>
        </tfoot>
    </table>
    [:footer:]
</div>
[:grid_list:]
[:js_script:]